package com.qww.exec08;

class A {
    A(int i) {
        System.out.println("A constructor " + i);
    }
}

class B extends A {
    B() {super(0);}
    B(int i) {super(i);}
}
public class Exec08 {
    public static void main(String[] args) {
        new B();
        new B(100);
    }
}
/* 运行结果
A constructor 0
A constructor 100
 */
